<?php $this->load->view('tourism/layout/header') ?>
<div class="circuittest-three">
    <div class="order-header am-cf">
        <a href="javascript:history.back();" class="am-header-icon">
            <i class="iconfont am-left icon-zuojiantou"></i>
        </a>
        <p>查看物流</p>
    </div>
    <div class="my-addressee">
        <?php if ($logisticsInfo) : ?>
        <div class="check-logistics">
            <p class="logistics"><?php echo $logisticsInfo->name; ?></p>
            <P>运单编号：<span><?php echo $logisticsInfo->number ?></span></P>
            <P>物流状态：<span><?php echo expressIsCheck()[$logisticsInfo->ischeck] ?></span></P>
        </div>
        <div class="the-logistics am-cf">
            <div class="tail-after">
                <?php $context = json_decode($logisticsInfo->context); ?>
                <?php if ($context) : ?>
                <ul class="tail">
                    <?php foreach($context as $key=>$item): ?>
                        <li class=" <?php if($key == 0){echo 'active';}?> am-cf">
                            <div class="follow"></div>
                            <div class="tail-times">
                                <p><?php echo $item->context ?></p>
                                <div class="time">
                                    <span><?php echo $item->time ?></span>
                                </div>
                            </div>
                        </li>
                    <?php endforeach ?>
                </ul>
                <?php endif; ?>
            </div>
        </div>
        <?php endif; ?>
    </div>
</div>
<?php $this->load->view('tourism/layout/footer') ?>